﻿/**  版本信息模板在安装目录下，可自行修改。
* InventoryClass.cs
*
* 功 能： N/A
* 类 名： InventoryClass
*
* Ver    变更日期             负责人  变更内容
* ───────────────────────────────────
* V0.01  2017/1/18 16:23:05   N/A    初版
*
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
*┌──────────────────────────────────┐
*│　此技术信息为本公司机密信息，未经本公司书面同意禁止向第三方披露．　│
*│　版权所有：动软卓越（北京）科技有限公司　　　　　　　　　　　　　　│
*└──────────────────────────────────┘
*/
using System;
namespace YTSK.Model
{/// <summary>
 /// 产品分类表
 /// </summary>
    [Serializable]
    public partial class InventoryClass
    {
        public InventoryClass()
        { }
        #region Model
        private string _cinvccode;
        private string _cinvcname;
        private string _cinvcnamefull;
        private int _igrade;
        private bool _bdisplay;
        private string _cinvccodeuser;
        private int? _iorder;
        private string _cdborder;
        private string _cmaker;
        private DateTime? _ddate;
        private DateTime? _dmdate;
        private string _cmodify;
        private int _istatus;
        private string _cfromip;
        private byte[] _ts;
        private int _id;
        private int _parentid;
        private bool _bEnd;
        /// <summary>
        /// 存货分类：1级3位，二级6位，系统自动生成
        /// </summary>
        public string cInvCCode
        {
            set { _cinvccode = value; }
            get { return _cinvccode; }
        }
        /// <summary>
        ///  分类名称
        /// </summary>
        public string cInvCName
        {
            set { _cinvcname = value; }
            get { return _cinvcname; }
        }
        /// <summary>
        /// 分类完整名称
        /// </summary>
        public string cInvCNameFull
        {
            set { _cinvcnamefull  = value; }
            get { return _cinvcnamefull; }
        }
        
        /// <summary>
        /// 层级
        /// </summary>
        public int iGrade
        {
            set { _igrade = value; }
            get { return _igrade; }
        }
        /// <summary>
        /// 是否显示
        /// </summary>
        public bool bDisplay
        {
            set { _bdisplay = value; }
            get { return _bdisplay; }
        }
        /// <summary>
        /// 停用-存货分类编码-用户输入
        /// </summary>
        public string cInvCCodeUser
        {
            set { _cinvccodeuser = value; }
            get { return _cinvccodeuser; }
        }
        /// <summary>
        /// 排序
        /// </summary>
        public int? iOrder
        {
            set { _iorder = value; }
            get { return _iorder; }
        }
        /// <summary>
        /// 停用-排序
        /// </summary>
        public string cDBOrder
        {
            set { _cdborder = value; }
            get { return _cdborder; }
        }
        /// <summary>
        /// 创建者
        /// </summary>
        public string cMaker
        {
            set { _cmaker = value; }
            get { return _cmaker; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? dDate
        {
            set { _ddate = value; }
            get { return _ddate; }
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? dMDate
        {
            set { _dmdate = value; }
            get { return _dmdate; }
        }
        /// <summary>
        /// 修改者
        /// </summary>
        public string cModify
        {
            set { _cmodify = value; }
            get { return _cmodify; }
        }
        /// <summary>
        /// 状态：0-null-正常,1-停用
        /// </summary>
        public int iStatus
        {
            set { _istatus = value; }
            get { return _istatus; }
        }
        /// <summary>
        /// 上次修改IP
        /// </summary>
        public string cFromIP
        {
            set { _cfromip = value; }
            get { return _cfromip; }
        }
        /// <summary>
        /// 时间戳-不要映射到实体
        /// </summary>
        public byte[] ts
        {
            set { _ts = value; }
            get { return _ts; }
        }
        /// <summary>
        /// 主键
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 上级ID
        /// </summary>
        public int parentID
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 是否末级
        /// </summary>
        public bool bEnd
        {
            set { _bEnd = value; }
            get { return _bEnd; }
        }


        #endregion Model

    }
}

